.home {
  width: 100%;
  height: calc(100vh - 100rpx);
  background-color: #F7F7F7;
  overflow-y: scroll;
  padding-bottom: 100rpx;

  .banner {
    width: 100%;
    // position: absolute;
    z-index: 0;
    top: 0;
  }

  .home_inner {
    z-index: 10;
    position: relative;

    .content_list {
      padding: 0 30rpx;
    }

    .more {
      margin-top: 20rpx;
      padding: 0 20rpx;

      .button {
        background-color: #016241;
        color: #fff;
        border-radius: 40rpx;
        border: 0;
        font-size: 25rpx;
        width: 280rpx;
        text-align: center;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        padding: 10rpx 0;
      }

      .cell_button {
        font-size: 20rpx !important;
      }
    }
  }

  .course_button {
    // margin: 0 17rpx;
    background: #fff;
    display: flex;
    margin-top: -100rpx;
    position: relative;
    padding: 45rpx 0;
    border-radius: 30rpx;
    box-shadow: 0rpx 5rpx 10rpx rgba(0, 0, 0, 0.2);

    .course_item {
      flex: 1;
      text-align: center;

      .course_title {
        font-weight: 900;
        font-size: 35rpx;
      }

      .none_text {
        line-height: 76rpx;
      }

      .course_info {
        color: #8E8E8E;
        font-size: 24rpx;
        margin-top: 12rpx;
      }

      .img_box {
        margin-top: 13rpx;
        width: 150rpx;
        height: 150rpx;
        border-radius: 100%;
        background-color: #EDF4F2;
        position: relative;
        left: 50%;
        transform: translateX(-50%);

        .course_icon {
          width: 150rpx;
          height: 150rpx;
          position: absolute;
          left: 50%;
          top: 50%;
          transform: translateX(-50%) translateY(-50%);
        }
      }
    }
  }

  .button_list {
    display: flex;
    justify-content: space-between;
    padding: 50rpx 50rpx;
    align-items: center;

    .button_item {
      .icon_0 {
        height: 85rpx;
        width: 95rpx;
      }

      .icon_1 {
        height: 85rpx;
        width: 100rpx;
      }

      .icon_2 {
        height: 75rpx;
        width: 85rpx;
      }

      .icon_3 {
        height: 85rpx;
        width: 80rpx;
      }

      .name {
        font-size: 25rpx;
        color: #000;
        text-align: center;
      }
    }
  }

  .notify {
    margin-top: 40rpx;
    padding: 40rpx;
    border: 1rpx solid #707070;
    border-radius: 40rpx;
    font-size: 22rpx;
    margin-bottom: 100rpx;

    .notify_item {
      padding: 35rpx 0;
      border-bottom: 1rpx solid #707070;

      &:nth-child(1) {
        padding-top: 0;
      }

      &:nth-last-child(1) {
        border-bottom: none;
        padding-bottom: 0;
      }
    }
  }

  .musical_instrument {
    .music_list {
      font-size: 30rpx;
      display: flex;
      overflow-y: scroll;
      max-width: 100%;

      &::-webkit-scrollbar {
        display: none;
      }

      .music_item {
        padding: 10rpx 30rpx;
        border-radius: 40rpx;
        color: #000;
        white-space: nowrap;
      }

      .current_music_item {
        background-color: #D6D6D6;
      }
    }

    .notify_list {
      display: flex;
      flex-wrap: wrap;
      margin-top: 50rpx;
      justify-content: space-between;
      margin-bottom: 100rpx;

      .notify_item {
        width: 45%;
        text-align: center;
        margin-bottom: 30rpx;

        img {
          max-width: 100%;
        }

        .item_video {
          height: 300rpx;

          .item_img {
            max-height: 300rpx;
            max-width: 100%;
          }
        }
      }
    }
  }

  .vip_curriculum {
    background-color: #fff;
    margin-top: 40rpx;
    border-radius: 30rpx;
    padding: 60rpx 10rpx;
    padding-bottom: 10rpx;
    padding-top: 20rpx;

    .toast {
      text-align: center;
      font-size: 25rpx;
    }

    .button {
      padding: 20rpx 0;
    }

    .vip_list {
      margin-top: 50rpx;

      .vip_item {
        background-color: #F7F7F7;
        padding: 30rpx;
        border-radius: 10rpx;
        margin-bottom: 10rpx;

        .name {
          font-size: 30rpx;
        }

        .info {
          font-size: 24rpx;
          display: flex;
          margin-top: 20rpx;
          color: #707070;
          padding-bottom: 30rpx;
          border-bottom: 1rpx solid #707070;

          .type {
            margin-left: 20rpx;
          }
        }

        .amount {
          display: flex;
          justify-content: space-between;
          margin-top: 30rpx;

          .price {
            .price_hd {
              color: #016241;
              font-size: 27rpx;
              font-weight: 900;
            }

            .price_yuan {
              color: #707070;
              font-size: 20rpx;
              text-decoration: line-through;
              margin-top: 10rpx;
            }
          }

          .button {
            padding: 20rpx 50rpx;
            color: #fff;
            background-color: #016241;
            border-radius: 50rpx;
            font-weight: 900;
            font-size: 27rpx;
          }
        }
      }
    }
  }
}

.video_box {
  position: fixed;
  top: 40%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  z-index: 1000;
  width: 90vw;
  background-color: #fff;
  box-shadow: 0rpx 0rpx 10rpx rgba(0, 0, 0, 0.3);
  border-radius: 20rpx;
  font-size: 30rpx;

  .title {
    background: #D8E9E3;
    padding: 20rpx;
    border-radius: 20rpx 20rpx 0 0;
    text-align: center;
    font-weight: 900;
  }

  .content {
    height: auto;

    .home_video {
      width: 100%;
      max-height: 100%;
    }
  }

  .foot_line {
    display: flex;
    justify-content: space-between;
    bottom: 0;
    width: 100%;
    border-radius: 0 0 20rpx 20rpx;

    .foot_button {
      flex: 1;
      text-align: center;
      line-height: 60rpx;
      font-size: 30rpx;
      font-weight: 900;
      border-radius: 0 0 20rpx 20rpx;
    }

    .button_ok {
      background-color: #D8E9E3;
    }
  }
}